<table id="sample-table-1" class="table table-striped table-bordered table-hover">
												<thead>
												<tr>
											       <th>定向区县</th>
												<th>删除</th>
											     </tr>
												</thead>

												<tbody>
												<?php
											   foreach($dds as $d){
												echo'	
												<tr>
												
												
												<td>'.$d->name.'</td>
												
												<td>
												<form method="post" action="'.Yii::app()->createUrl('basicinfo/deletedata').'">
												<input type="hidden" name="id" value="'.$d->ddId.'">	
												<input type="hidden" name="type" value="d">	
                                               <button class="btn btn-xs btn-danger">
													<i class="icon-remove-sign bigger-120"></i>
												</button>
                                                  </form>												
												</td>
											   </tr>';
											   }
                                               ?>												
											    </tbody>
											
											</table>
											<hr>
<div class="widget-box">
				<div class="widget-header widget-header-small">
					<h5 class="lighter">添加定向区县</h5>
				</div>

			<div class="widget-body">
				<div class="widget-main">
					<form class="form-horizontal"  method = "post" action="<?php echo Yii::app()->createUrl('basicinfo/adddata'); ?>">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" > 新的定向区县: </label>

										<div class="col-sm-9">
											<input type="hidden"   name="type" value="dd" >
											<input type="text"  placeholder="定向区县" name = "dd" class="col-xs-10 col-sm-5 validate[required]">
											
										</div>
									</div>
									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
											  提交
											</button>

											
										</div>
									</div>
					</form>
				</div>
		</div>
</div>